import request from '@/utils/request'

// 首页-统计数据源
export function queryHomeIndex(data) {
  return request({
    url: '/statistic/home',
    method: 'post',
    data: data
  })
}

// 首页-表格数据源
export function queryHomeList(data) {
  return request({
    url: `/home/list?page=${data.pageNum}`,
    method: 'post',
    data: data
  })
}
